<?php

namespace Biz\Models\Site;

use Biz\Models\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * SiteMail.
 *
 * @license [http://www.85do.com] [杭州永奥网络科技有限公司]
 * @copyright Copyright (c) 2018-2026 Hangzhou Yongao Technology Co., Ltd. All rights reserved.
 */
class SiteMail extends Model
{
    use SoftDeletes;
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'site_mail';

    /**
     * @var array
     */
    protected $fillable = [
        'site_id',
        'driver',
        'host',
        'port',
        'from',
        'encryption',
        'username',
        'password',
        'sendmail',
        'status',
    ];

    /**
     * @var array
     */
    protected $casts = [
        'from' => 'array',
    ];
}
